package com.fight.strive.sys.modules.cauth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fight.strive.sys.modules.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Entity(name = "t_sys_app_client")
@TableName("t_sys_app_client")
public class AppClientEntity extends BaseEntity {

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 应用Key
     */
    @Column(unique = true)
    private String appKey;

    /**
     * 应用密码
     */
    private String appSecret;

    /**
     * 授权路径
     */
    private String path;
}
